﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CavinatorService.model
{
    [DataContract]
    public class Protocol
    {
        List<Answer> answers;
        string info;
        long idNode;
        bool isAnswer;

        #region Properties

        [DataMember]
        public long IdNode
        {
            get { return idNode; }
            set { idNode = value; }
        }

        [DataMember]
        public string Info
        {
            get { return info; }
            set { info = value; }
        }

        [DataMember]
        public bool IsAnswer
        {
            get { return isAnswer; }
            set { isAnswer = value; }
        }

        [DataMember]
        public List<Answer> Answers
        {
            get { return answers; }
            set { answers = value; }
        }

        #endregion

        #region Constructors
        #endregion

        #region Methods
        #endregion

    }
}
